package com.zp.crm.service.UserService;

import java.util.Date;
import java.util.List;
import java.util.Map;

import com.zp.crm.entity.User.UserEntity;

public interface UserService {

	Map<String, Object> LoginSelectByName(String username, String password);

	Map<String, Object> SelectByList(int page, int size);

	Map<String, Object> UserStutsUpdate(UserEntity entity);

	Map<String, Object> SelectCreatePage(String username, String name, String stuts, int page, int size);

	Map<String, Object> UserRoidUpdate(String code, String obj);

	Map<String, Object> UserNameTrueNameSelect(String name, String tname);

	Map<String, Object> insert(UserEntity entity);

	Map<String, Object> LoginIpAndTime(String code,String ip, Date date);

	Map<String, Object> selectById(String code);

	Map<String, Object> SelectUserNamePwd(String name, String pwd);

	Map<String, Object> EditUserPwd(String code, String pwd);

	Map<String, Object> EditUserImg(String code, String fileName);

	Map<String, Object> UserListPrivate();

	Map<String, Object> UserTestListAdd(List<UserEntity> list);

}
